package xyz.jpcr.covid19app.Util;

import java.util.ArrayList;
import java.util.List;

import xyz.jpcr.covid19app.Model.Country.Cities;
import xyz.jpcr.covid19app.Model.Country.Country;
import xyz.jpcr.covid19app.Model.Country.CountryResults;

public class IStoreUtil {



    private ArrayList<CountryResults> countryResultsList;
    private ArrayList<Cities> citiesList;
    private CountryResults current_province;

    public CountryResults getCurrent_province() {
        return current_province;
    }

    public void setCurrent_province(CountryResults current_province) {
        this.current_province = current_province;
    }

    private static  IStoreUtil iStoreUtil;

    public static IStoreUtil getInstance() {
        if(iStoreUtil == null)  {
            iStoreUtil = new IStoreUtil();
        }
        return iStoreUtil;
    }

    public ArrayList<CountryResults> getCountryResultsList() {
        return countryResultsList;
    }

    public void setCountryResultsList(ArrayList<CountryResults> countryResultsList) {
        this.countryResultsList = countryResultsList;
    }

    public ArrayList<Cities> getCitiesList() {
        return citiesList;
    }

    public void setCitiesList(ArrayList<Cities> citiesList) {
        this.citiesList = citiesList;
    }
}
